﻿using System;
using DBA.Common;
using System.Collections;
using System.Collections.Generic;

namespace DBA.Model
{
    /// <summary>
    ///功能描述    :    TeacherListenCourse
    ///开发者      :    
    ///建立时间    :    2012-08-22 13:49:28
    ///修订描述    :    
    ///进度描述    :    
    ///版本号      :    1.0
    ///最后修改时间:    2012-08-22 13:49:28
    /// </summary>
        [OrmPropertyAttribute(TableName = "TeacherListenCourse",PrimaryKey = "TlcID",PrimaryKeyType = "IDENTITY",ParameterType = "int")]
    public class TeacherListenCourse
    {
        #region 构造函数
        public TeacherListenCourse(){}
        
        public TeacherListenCourse(int TlcID,int EmployeeID,string Year,int JoinCount,int ListenCount,short Grade)
        {
           this._TlcID = TlcID;
           this._EmployeeID = EmployeeID;
           this._Year = Year;
           this._JoinCount = JoinCount;
           this._ListenCount = ListenCount;
           this._Grade = Grade;

        }
        #endregion
        
        #region 成员
        private int _TlcID;
        private int _EmployeeID;
        private string _Year;
        private int _JoinCount;
        private int _ListenCount;
        private short _Grade;
        #endregion
        
        #region 属性
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "0")]
        public virtual int TlcID
        {
            get { return _TlcID; }
            set { _TlcID = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "1")]
        public virtual int EmployeeID
        {
            get { return _EmployeeID; }
            set { _EmployeeID = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "varchar",ParameterLength = 10,IsNull = "1")]
        public virtual string Year
        {
            get { return _Year; }
            set { _Year = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "1")]
        public virtual int JoinCount
        {
            get { return _JoinCount; }
            set { _JoinCount = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "1")]
        public virtual int ListenCount
        {
            get { return _ListenCount; }
            set { _ListenCount = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "smallint",ParameterLength = 2,IsNull = "1")]
        public virtual short Grade
        {
            get { return _Grade; }
            set { _Grade = value; }
        }
        #endregion
    }
}